<template>
  <div class="zxcf_menu_wper">
    <div class="zxcf_menu px1000">
      <a href="javascript:void(0)" :class="{zm_cura:( moName=='index2' )}" @click="changeModule('index2')">首页</a>
      <a href="javascript:void(0)" :class="{zm_cura:(moName=='invest')}" @click="changeModule('invest')">我要投资</a>
      <a href="javascript:void(0)" :class="{zm_cura:(moName=='borrow')}" @click="changeModule('borrow')">我要借款</a>
      <a href="javascript:void(0)" :class="{zm_cura:(moName=='gaodemap')}" @click="changeModule('gaodemap')">合作共赢</a>
      <a href="javascript:void(0)" :class="{zm_cura:(moName=='noticelist')}" @click="changeModule('noticelist')">新手指引</a>
      <a href="javascript:void(0)" :class="{zm_cura:(moName=='settings')}" style="margin-right:0;" @click="changeModule('settings')">账户设置</a>
    </div>
  </div>
</template>

<script>
    export default {
        name: "projectnav",
      data(){
        return{
          moName:"index2"
        }
      },
      methods:{
        changeModule:function (t) {
          this.$emit("func",t)
          this.moName=t
        }
      }
    }
</script>

<style scoped>

</style>
